package com.ny.USB;

import com.ny.USB.Keyboard;
import com.ny.USB.Laptop;
import com.ny.USB.Mouse;

public class Test03 {
    public static void main(String[] args) {
        Laptop laptop=new Laptop();
        laptop.run();
        Mouse mouse=new Mouse();
        laptop.useUSB(mouse);
        Keyboard keyboard=new Keyboard();
        laptop.useUSB(Keyboard);
        laptop.shutdown();
    }
}
